import axios from 'axios'

import { IInpTransferOrderNumReqItem, IInpTransferOrderNumRes } from '../interface'
import './__mock__'

/** 录入转单号 */
export const apiSaveWaybillNum = async (req: IInpTransferOrderNumReqItem[]): Promise<IInpTransferOrderNumRes> => {
  return axios.post(`/tmsapi/waybill_record/saveWaybillNumber`, { waybillTrackingList: req }).then(res => res.$data)
}
